const Actions = require('./testaction');
const Reflux = require('reflux');
module.exports = Reflux.createStore({
    listenables: [Actions],
    data: {
        value: 0
    },

    onGetTest: function(params, cb) {
        return cb(this.data.value)
    },
    onSetTest: function(params, cb){
        this.data.value = params;
        return cb(this.data.value);
    }
});
